package com.redwine.app.net.responses;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 我发布的货源
 * 作者：gassion on 17/8/12 11:51
 * 最可怕的敌人，就是没有坚强的信念。
 */
public class SendPublishResponse extends BaseResponse {

    /**
     * data : {"data":[{"id":"17","category":"酱香型酒","produce":"阿尔巴尼亚","name":"一生一起走去","city":"石家庄市","switch":"1","price":"12.00","num":"12","content":"哼民谣","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/20/011822004415.jpg,https://t-app.baisouhj.com/image/hongjiu/201708/20/011822835345.jpg","date":"2017-08-20 01:18:22","status":"1","uid":"8","remain":"-15天-14小时-32分","remain_before":"21天13小时32分","message_count":0},{"id":"16","category":"洋酒","produce":"爱尔兰","name":"迷宫只能我是","city":"临汾市","switch":"1","price":"6767.00","num":"3131","content":"一生一起走","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/19/170945561098.jpg","date":"2017-08-19 17:09:45","status":"1","uid":"8","remain":"-15天-22小时-9分","remain_before":"21天21小时9分","message_count":0},{"id":"15","category":"洋酒","produce":"阿富汗","name":"12","city":"邢台市","switch":"1","price":"12.00","num":"12","content":"宁婆婆","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/19/164258503856.jpg","date":"2017-08-19 16:42:58","status":"1","uid":"8","remain":"-15天-23小时-56分","remain_before":"21天22小时56分","message_count":0},{"id":"12","category":"洋酒","produce":"阿根廷","name":"the ","city":"邯郸市","switch":"1","price":"2.00","num":"12222","content":"Try ","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/121101122333.png,https://t-app.baisouhj.com/image/hongjiu/201708/09/121101835123.png,https://t-app.baisouhj.com/image/hongjiu/201708/09/121101734044.png","date":"2017-08-09 12:11:01","status":"1","uid":"8","remain":"-26天-3小时-53分","remain_before":"32天2小时53分","message_count":"2"},{"id":"11","category":"白酒","produce":"阿尔巴尼亚","name":"222222","city":"北京市","switch":"1","price":"22.00","num":"11111","content":"Aadsddasda","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/102544003349.png","date":"2017-08-09 10:25:44","status":"1","uid":"8","remain":"-26天-5小时-10分","remain_before":"32天4小时10分","message_count":"4"},{"id":"10","category":"红酒","produce":"阿根廷","name":"qe","city":"秦皇岛市","switch":"1","price":"22.00","num":"1111","content":"333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/180429130956.png","date":"2017-08-08 18:04:29","status":"1","uid":"8","remain":"-26天-21小时-25分","remain_before":"32天20小时25分","message_count":0}],"allpage":1,"page":1}
     */

    private DataEntityX data;

    public DataEntityX getData() {
        return data;
    }

    public void setData(DataEntityX data) {
        this.data = data;
    }

    public static class DataEntityX {
        /**
         * data : [{"id":"17","category":"酱香型酒","produce":"阿尔巴尼亚","name":"一生一起走去","city":"石家庄市","switch":"1","price":"12.00","num":"12","content":"哼民谣","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/20/011822004415.jpg,https://t-app.baisouhj.com/image/hongjiu/201708/20/011822835345.jpg","date":"2017-08-20 01:18:22","status":"1","uid":"8","remain":"-15天-14小时-32分","remain_before":"21天13小时32分","message_count":0},{"id":"16","category":"洋酒","produce":"爱尔兰","name":"迷宫只能我是","city":"临汾市","switch":"1","price":"6767.00","num":"3131","content":"一生一起走","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/19/170945561098.jpg","date":"2017-08-19 17:09:45","status":"1","uid":"8","remain":"-15天-22小时-9分","remain_before":"21天21小时9分","message_count":0},{"id":"15","category":"洋酒","produce":"阿富汗","name":"12","city":"邢台市","switch":"1","price":"12.00","num":"12","content":"宁婆婆","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/19/164258503856.jpg","date":"2017-08-19 16:42:58","status":"1","uid":"8","remain":"-15天-23小时-56分","remain_before":"21天22小时56分","message_count":0},{"id":"12","category":"洋酒","produce":"阿根廷","name":"the ","city":"邯郸市","switch":"1","price":"2.00","num":"12222","content":"Try ","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/121101122333.png,https://t-app.baisouhj.com/image/hongjiu/201708/09/121101835123.png,https://t-app.baisouhj.com/image/hongjiu/201708/09/121101734044.png","date":"2017-08-09 12:11:01","status":"1","uid":"8","remain":"-26天-3小时-53分","remain_before":"32天2小时53分","message_count":"2"},{"id":"11","category":"白酒","produce":"阿尔巴尼亚","name":"222222","city":"北京市","switch":"1","price":"22.00","num":"11111","content":"Aadsddasda","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/102544003349.png","date":"2017-08-09 10:25:44","status":"1","uid":"8","remain":"-26天-5小时-10分","remain_before":"32天4小时10分","message_count":"4"},{"id":"10","category":"红酒","produce":"阿根廷","name":"qe","city":"秦皇岛市","switch":"1","price":"22.00","num":"1111","content":"333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/180429130956.png","date":"2017-08-08 18:04:29","status":"1","uid":"8","remain":"-26天-21小时-25分","remain_before":"32天20小时25分","message_count":0}]
         * allpage : 1
         * page : 1
         */

        private int allpage;
        private int page;
        private List<DataEntity> data;

        public int getAllpage() {
            return allpage;
        }

        public void setAllpage(int allpage) {
            this.allpage = allpage;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 17
             * category : 酱香型酒
             * produce : 阿尔巴尼亚
             * name : 一生一起走去
             * city : 石家庄市
             * switch : 1
             * price : 12.00
             * num : 12
             * content : 哼民谣
             * pic : https://t-app.baisouhj.com/image/hongjiu/201708/20/011822004415.jpg,https://t-app.baisouhj.com/image/hongjiu/201708/20/011822835345.jpg
             * date : 2017-08-20 01:18:22
             * status : 1
             * uid : 8
             * remain : -15天-14小时-32分
             * remain_before : 21天13小时32分
             * message_count : 0
             */

            private String id;
            private String category;
            private String produce;
            private String name;
            private String city;
            @SerializedName("switch")
            private String switchX;
            private String price;
            private String num;
            private String content;
            private String pic;
            private String date;
            @SerializedName("status")
            private String statusX;
            private String uid;
            private String remain;
            private String remain_before;
            private int message_count;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getProduce() {
                return produce;
            }

            public void setProduce(String produce) {
                this.produce = produce;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getSwitchX() {
                return switchX;
            }

            public void setSwitchX(String switchX) {
                this.switchX = switchX;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getRemain() {
                return remain;
            }

            public void setRemain(String remain) {
                this.remain = remain;
            }

            public String getRemain_before() {
                return remain_before;
            }

            public void setRemain_before(String remain_before) {
                this.remain_before = remain_before;
            }

            public int getMessage_count() {
                return message_count;
            }

            public void setMessage_count(int message_count) {
                this.message_count = message_count;
            }
        }
    }
}
